package com.accp.vehiclecare.biz.lscbiz;

import com.accp.vehiclecare.dao.lscdao.LscsettleMapper;
import com.accp.vehiclecare.pojo.Settle;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service
public class LscsettleBiz {
    @Autowired
    private LscsettleMapper dao;

    @Transactional(propagation = Propagation.REQUIRED)
    public int addone(Settle s){
        return dao.insert(s);
    }
}
